/**
 * 
 */
package com.googlecode.dynargs.extractor;

import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

import com.googlecode.dynargs.model.constraints.Constraint;

/**
 * @author Federico De Faveri defaveri@gmail.com
 *
 */
public interface ConstraintExtractor {
	
	public boolean canExtract(Field field, Annotation annotation);
	
	public Constraint extract(Field field, Annotation annotation);

}
